@layout("/common/_testCommons2.html"){
<style>
    .ulStyle > li {
        list-style: none;
        line-height: 55px;
    }

    .selectStyle {
        height: 40px;
        width: 70%
    }
</style>
<div class="ibox-content">
    <div style="display: none">
        <input type="hidden" id="reservationsId" value="${reservationsId}">
        <input type="hidden" id="customerId" value="${customerId}">
    </div>
    <div class="clearfix">
        <div class="col-sm-12">
            <ul class="ulStyle">
                <li>
                    <p style="line-height: 20px;margin: 0;">就诊时间:</p>
                    <select name="finnallyTime" id="finnallyTime" class="selectStyle">
                        @for(item in customerList){
                        <option value="${item.arrivalTime}">${item.arrivalTime}</option>
                        @}
                    </select>
                </li>
                <li>
                    <p style="line-height: 20px;margin: 0;">项目:</p>
                    <select class="selectStyle" name="payServiceId" id="payServiceId">
                        @for(item in reservationsInfo){
                        <option value="${item.payServiceId}">${item.payServiceName}</option>
                        @}
                    </select>
                </li>
                <li>
                    <p style="line-height: 20px;margin: 0;">影像类型:</p>
                    <select class="selectStyle" id="iconType" name="iconType" onchange="iconTypeChange()">
                        <option value="请选择">请选择</option>
                        <option value="全景">全景</option>
                        <option value="小牙片">小牙片</option>
                        <option value="CBCT">CBCT</option>
                        <option value="照片">照片</option>
                        <option value="其他">其他</option>
                    </select>
                </li>
                <li>
                    <p style="line-height: 20px;margin: 0;">备注:</p>
                    <input class="selectStyle" id="remarks" value=""/>
                </li>
                <li>
                    <div id="avatarBtnId" class="webuploader-container">
                        <button type="button" style="background:#31add2;color: white" class="btn"
                                ondblclick="uploadicon()" onclick="uploadicon()">上传影像
                        </button>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/doctorLooked/uploadIcon.js"></script>
<script>
    /*   $(function () {
          var reservationsId = document.getElementById("reservationsId").value;
          var customerId = document.getElementById("customerId").value;
          var cri = reservationsId + "," + customerId;
         //初始化下拉预约时间
          $.ajax({
              url: Feng.ctxPath + "/doctorLooked/diagnoseList",
              type: "post",
              data: {
                  customerId: customerId,
                  reservationsId: reservationsId
              },
              success: function (data) {
                  var txt = ' ';
                  for (var i = 0; i < data.length; i++) {
                      var text1 = data[i].diagnoseTime+" "+ data[i].outpatientName;
                      txt += '<option value="' + text1 + '">' + text1 + '</option>';
                  }
                  document.getElementById('alldiagnosetime').innerHTML = txt;
                  //状态单选
                  var seletediagnosetimeValue = $('#diagnosetimeValue').val();
                  if (seletediagnosetimeValue != "") {
                      $("#alldiagnosetime option[value=" + seletediagnosetimeValue + "]").attr("selected", "selected");
                  }
              }
          });
    });*/
</script>
@}
